package com.signway.constant;

/*
 * -----------------------------------------------------------------
 * Copyright (C) 2011-2018, by your Signway, All rights reserved.
 * -----------------------------------------------------------------
 *
 * ProjectName: Droid
 *
 * Author: Administrator
 *
 * Email: ##.##@Signway.cn
 *
 * Description:设置的常量类
 *
 * -----------------------------------------------------------------
 * 2018/8/6 0006 :
 * -----------------------------------------------------------------
 */

public class SettingConstant {

    public static final byte STATE_SYSTEM = 0; // 系统设置
    public static final byte STATE_NETWORK = 1; // 网络
    public static final byte STATE_NETWORK_FAST = 9; // 快速跳转到网络
    public static final byte STATE_DATE = 2; // 时间与日期
    public static final byte STATE_REMOTE = 3; // 开关机
    public static final byte STATE_STRATEGY = 100; // 分时策略
    public static final byte STATE_DISPLAY = 4; // 显示
    public static final byte STATE_FILE = 5; // 文件管理
    public static final byte STATE_ABOUT = 6; // 关于
    public static final byte STATE_EXIT = 7; // 退出
    public static final byte STATE_SYSTEM_CONTROL = 8; // 系统管理

    public static final byte STATE_SYSTEM_SCREEN = 53; //图像设置
    public static final byte STATE_SYSTEM_LANGUAGE = 10; // 语言动画
    public static final byte STATE_NETWORK_SERVER = 11; // 服务器地址
    public static final byte STATE_NETWORK_PORT = 12; // 服务器端口
    public static final byte STATE_NETWORK_GETIP = 13; // 获取IP的方式
    public static final byte STATE_REMOTE_TIME = 14; // 开关机的时间设置
    public static final byte STATE_SYSTEM_LINKMAN = 15; // 电话单
    public static final byte STATE_NETWORK_INPUT = 16; // 网络键盘输入
    public static final byte STATE_SYSTEM_LAYOUT = 17; // 终端部署信息
    public static final byte STATE_SYSTEM_NUM = 18; // 输入播放次数
    public static final byte STATE_SYSTEM_USB = 19; // u盘
    public static final byte STATE_SYSTEM_PW = 20; // 修改密码
    public static final byte STATE_LIFT_LOCATION = 22; // 电梯位置
    public static final byte STATE_LIFT_INF = 23; // 电梯信息
    public static final byte STATE_VOLUME_TIME = 24; // 分时
    public static final byte STATE_VOLUME_TIME_SET = 25; // 分时设置
    public static final byte STATE_LOG_SEE = 26; // 日志查看
    public static final byte STATE_LEFT_RUN = 27; // 电梯运行信息
    public static final byte STATE_SYSTEM_ORIENTION_MODE = 28; // 屏幕模式切换
    public static final byte STATE_SYSTEM_WORK_MODE = 30; // 工作模式
    public static final byte STATE_SYSTEM_PLAY_MODE = 31; // 播放模式
    public static final byte STATE_SYSTEM_MANAGE_SOFT = 32; // 管理软件
    public static final byte STATE_SYSTEM_STORAGE = 33; // 存储器优先
    public static final byte STATE_SYSTEM_PLAY_TIME = 34; // 播放时间
    public static final byte STATE_SYSTEM_REAL_TIME = 35; // 实时时钟显示
    public static final byte STATE_SYSTEM_ROLL_MTXT = 36; // 滚动字幕设置
    public static final byte STATE_SYSTEM_SYNC_SETTING = 37; // 同步设置
    public static final byte STATE_SYSTEM_PLAY_LOG = 38; // 播放日志
    public static final byte STATE_SYSTEM_IR_PWD = 39; // 遥控器密码设置
    public static final byte STATE_NETWORK_WIFI = 40; // WIFI设置
    public static final byte STATE_NETWORK_MOBILE = 41; //移动网络设置
    public static final byte STATE_NETWORK_MOBILE_APN = 42; //apn接入点设置
    public static final byte STATE_NETWORK_SERVER_DOMAIN = 45; // 服务器域名地址
    public static final byte STATE_MACHINE_NUMBER = 46;        //本机编号设置
    public static final byte STATE_REMOTE_SERVER = 47;        //高级设置里面的远程服务器设置
    public static final byte STATE_BASE_SETTING = 48; //基础设置
    public static final byte STATE_SENIOR_SETTING = 49; //高级设置
    public static final byte STATE_TIME_SET_SETTING = 50; //时间设置界面
    public static final byte STATE_BASE_SYSTEM_SETTING = 51; //基础设置-系统设置
    public static final byte STATE_SYSTEM_BASE = 52; //基础设置里的系统设置
    public static final byte STATE_SYSTEM_WEBVIEW_SETTING = 54; // 网页设置
    public static final byte STATE_SYSTEM_TRANSFER_FIELD = 55;

    public static final byte STATE_STRATEGY_VOLUME = 101; // 分时音量
    public static final byte STATE_STRATEGY_PORT = 102; // 端口策略
    public static final byte STATE_STRATEGY_PORT_TIME = 103; // 端口策略设置
    public static final byte STATE_STRATEGY_VIEW = 104; // 显示策略
    public static final byte STATE_STRATEGY_VIEW_TIME = 105; // 显示策略设置
    public static final byte STATE_SYSTEM_DPI = 106; //分辨率

    public static int STATE_PREVIOUS; // 上一次状态记录
    public static int stateCur; // 当前状态

    public static final byte STYLE_IP = 100;
    public static final byte STYLE_MASK = 102;
    public static final byte STYLE_WAY = 103;
    public static final byte STYLE_DNS = 104;

    public static final int STYLE_LONG_USE_IP = 200;
    public static final int STYLE_LONG_USE_PORT = 201;
    public static final int STYLE_LONG_FILE_IP = 202;
    public static final int STYLE_LONG_FILE_PORT = 203;

    public static final int STYLE_LOCAL_USE_IP = 300;
    public static final int STYLE_LOCAL_USE_PORT = 301;
    public static final int STYLE_LOCAL_FILE_IP = 302;
    public static final int STYLE_LOCAL_FILE_PORT = 303;
    public static int style;
    public static final int STYLE_LOCAL_DOMAIN = 400;
    public static final int STYLE_FILE_DOMAIN = 401;

    /**************************************************************
     * 定时开关机，5短时间的下标
     */
    public static final int TIME_STAGE = 5;  //一共5段时间
    public static byte remoteTimeIndex;
    public static final byte REMOTE_TIME_0 = 0;
    public static final byte REMOTE_TIME_1 = 1;
    public static final byte REMOTE_TIME_2 = 2;
    public static final byte REMOTE_TIME_3 = 3;
    public static final byte REMOTE_TIME_4 = 4;

    /**************************************************************
     * 音量分时，5短时间的下标
     */
    public static final byte VOLUME_TIME_0 = 0;
    public static final byte VOLUME_TIME_1 = 1;
    public static final byte VOLUME_TIME_2 = 2;
    public static final byte VOLUME_TIME_3 = 3;
    public static final byte VOLUME_TIME_4 = 4;


    /*** 工作模式 ****/
    /**
     * 单机
     **/
    public static final int SINGLE = 0;
    /**
     * 有线
     **/
    public static final int NETWORK = 1;
    /**
     * WIFI
     **/
    public static final int WIFI = 2;
    /**
     * 移动网络
     **/
    public static final int MOBILE = 3;

    /*** 播放模式 ****/
    public static final int ENCRYPT = 0;
    public static final int NON_ENCRYPT = 1;
    public static final int OPEN = 2;

    /*** 实时时钟显示 ***/
    public static final int REALTIMECLOCK_CLOSE = 0;
    public static final int REALTIMECLOCK_UPLEFT = 1;
    public static final int REALTIMECLOCK_UPRIGHT = 2;
    public static final int REALTIMECLOCK_RIGHTDOWN = 3;
    public static final int REALTIMECLOCK_LEFTDOWN = 4;

    /*** 滚动字幕显示 ***/
    public static final int ROLLMTXT_OPEN = 1;
    public static final int ROLLMTXT_CLOSE = 0;

    /*** 同步设置，同步方式 ***/
    public static final boolean SYNC_CLOSE = false; //默认关闭

    public static final int SYNCSETTING_HOST = 1;
    public static final int SYNCSETTING_SLAVE = 2;

    public static final int SYNCMETHODS_GHZ = 1;
    public static final int SYNCMETHODS_NETWORK = 2;

    /*** 播放日志 ***/
    public static final int PLAYLOG_CLOSE = 0;
    public static final int PLAYLOG_OPEN = 1;

    /*** 管理软件 ***/
    public static final int MANAGESOFT_GTV = 0;
    public static final int MANAGESOFT_ADPE = 1;
    public static final int MANAGESOFT_CLOUD = 2;

    /*** 存储器优先 ***/
    /**
     * 内置存储器
     **/
    public static final int STORAGE_INLAY = 0;
    /**
     * U盘
     **/
    public static final int STORAGE_UDISK = 1;
    /**
     * sd卡
     **/
    public static final int STORAGE_SDDISK = 2;

    /*** 播放时间 ***/
    public static final int PLAYTIME_5S = 0;
    public static final int PLAYTIME_10S = 1;
    public static final int PLAYTIME_15S = 2;
    public static final int PLAYTIME_30S = 3;
    public static final int PLAYTIME_IMIN = 4;

    /*** USB 设置 */
    public static final boolean USB_OPEN = true;
    public static final boolean USB_CLOSE = false;

    /*** 开机同步网络时间 ****/
    public static final boolean SYNCTIME_OPEN = true;
    public static final boolean SYNCTIME_CLOSE = false;

    // 版本文件
    public static final String PATH_COMM = "comm.properties";

}
